package com.rc.saas.mini.model.member;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-04-24
 */

@ApiModel(value=" member_invite_setting ", description=" 邀请收益记录表 ")
public class MemberInviteSetting extends BaseModel{ 

    @ApiModelProperty(value = "ID")
    private Long inviteSettingId;
 
    @ApiModelProperty(value = "运营商")
    private String tenantCode;
 
    @ApiModelProperty(value = "活动名称")
    private String inviteName;
 
    @ApiModelProperty(value = "奖励类型 1返利，2优惠券")
    private String inviteType;
 
    @ApiModelProperty(value = "关联优惠券ID")
    private Long ticketTypeId;
 
    @ApiModelProperty(value = "赠送数量")
    private Integer ticketTypeCount;
 
    @ApiModelProperty(value = "活动状态 0已结束 1进行中")
    private String status;
 
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
 
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
 
    @ApiModelProperty(value = "类型2 :返利比例")
    private BigDecimal gainRatio;
 
    @ApiModelProperty(value = "返利上限")
    private Integer gainLimit;
 
    @ApiModelProperty(value = "活动规则描述")
    private String ruleRemark;
 
    @ApiModelProperty(value = "邀请描述")
    private String inviteRemark;
 
    @ApiModelProperty(value = "null")
    private String createdBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    public Long getInviteSettingId() {
        return inviteSettingId;
    }

    public void setInviteSettingId(Long inviteSettingId) {
        this.inviteSettingId = inviteSettingId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getInviteName() {
        return inviteName;
    }

    public void setInviteName(String inviteName) {
        this.inviteName = inviteName;
    }

    public String getInviteType() {
        return inviteType;
    }

    public void setInviteType(String inviteType) {
        this.inviteType = inviteType;
    }

    public Long getTicketTypeId() {
        return ticketTypeId;
    }

    public void setTicketTypeId(Long ticketTypeId) {
        this.ticketTypeId = ticketTypeId;
    }

    public Integer getTicketTypeCount() {
        return ticketTypeCount;
    }

    public void setTicketTypeCount(Integer ticketTypeCount) {
        this.ticketTypeCount = ticketTypeCount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public BigDecimal getGainRatio() {
        return gainRatio;
    }

    public void setGainRatio(BigDecimal gainRatio) {
        this.gainRatio = gainRatio;
    }

    public Integer getGainLimit() {
        return gainLimit;
    }

    public void setGainLimit(Integer gainLimit) {
        this.gainLimit = gainLimit;
    }

    public String getRuleRemark() {
        return ruleRemark;
    }

    public void setRuleRemark(String ruleRemark) {
        this.ruleRemark = ruleRemark;
    }

    public String getInviteRemark() {
        return inviteRemark;
    }

    public void setInviteRemark(String inviteRemark) {
        this.inviteRemark = inviteRemark;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
